/*
====================================
SPRO - Solution For Professionals
Global Stylesheet
====================================
*/

/* ==================== ROOT VARIABLES ==================== */
:root {
  /* Brand Colors */
  --color-primary: #2a61cf;
  --color-primary-dark: #1a4fa8;
  --color-primary-light: #5a8cdf;
  --color-secondary: #000000;
  --color-text: #7A7F83;
  --color-accent: #FFFFFF;
  --color-heading: #102039;
  
  /* Typography */
  --primary-font: 'Poppins', sans-serif;
  
  /* Spacing System (8px base) */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;
  --spacing-5xl: 96px;
  --spacing-6xl: 120px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(45, 133, 254, 0.15);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-fast: 0.15s;
  --transition-base: 0.3s;
  --transition-slow: 0.5s;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Legacy support */
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 30px rgba(45, 133, 254, 0.15);
  
  /* ===== Z-INDEX SYSTEM (Clean Layering 1-200) ===== */
  --z-base: 1;
  --z-section: 5;
  --z-floating-elements: 40;
  --z-dropdown: 50;
  --z-navbar: 100;
  --z-overlay: 150;
  --z-mobile-drawer: 200;
}

/* ==================== GLOBAL RESET ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--primary-font);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  background-color: var(--color-accent);
  overflow-x: hidden;
  opacity: 0;
  animation: pageLoad 0.5s ease forwards;
}

@keyframes pageLoad {
  to {
    opacity: 1;
  }
}

body.loaded {
  animation: none;
  opacity: 1;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

a {
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  text-decoration: none;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  border-color: var(--color-primary);
  color: var(--color-accent);
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a6fd9 0%, var(--color-primary) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45, 133, 254, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(45, 133, 254, 0.3);
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  z-index: -1;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.btn-outline-primary:hover::before {
  left: 0;
}

.btn-outline-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-accent);
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #333333;
  border-color: #333333;
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

/* ===== MODERN NAVBAR (Z-INDEX: 100) ===== */
.main-header {
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-navbar); /* Z-INDEX: 100 */
  transition: all var(--transition-slow) var(--transition-smooth);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar {
  padding: 1.25rem 0;
  transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.main-header.scrolled .navbar {
  padding: 0.875rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-heading);
  display: flex;
  align-items: center;
  z-index: calc(var(--z-navbar) + 1);
  transition: transform var(--transition-base) var(--transition-smooth);
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-brand img {
  height: 46px;
  margin-right: 10px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

.main-header.scrolled .navbar-brand img {
  height: 38px;
}

/* Modern Hamburger Animation */
.navbar-toggler {
  border: none;
  padding: 0.625rem;
  background: transparent;
  cursor: pointer;
  z-index: calc(var(--z-navbar) + 1);
  position: relative;
  display: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.hamburger-box {
  width: 28px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 28px;
  height: 3px;
  background-color: var(--color-heading);
  border-radius: 3px;
  position: absolute;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-inner {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}

.main-header.scrolled .hamburger-inner,
.main-header.scrolled .hamburger-inner::before,
.main-header.scrolled .hamburger-inner::after {
  background-color: var(--color-heading);
}

/* Desktop Navigation Links */
.navbar-collapse {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.navbar-drawer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  color: var(--color-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 0.625rem 1.125rem;
  margin: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-primary);
  background: rgba(45, 133, 254, 0.06);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 2.25rem);
}

.navbar-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.navbar-nav .dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  vertical-align: middle;
  margin-top: -0.15em;
}

.navbar-nav .dropdown.show .dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 0.1em;
}

/* ==================== DROPDOWN MENU STYLES ==================== */
.navbar-nav .dropdown {
  position: relative;
}

/* Modern Dropdown Styles with Glassmorphism */
.navbar-nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 240px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
              0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base) var(--transition-smooth);
  z-index: var(--z-dropdown); /* Z-INDEX: 50 */
  list-style: none;
  margin: 0;
}

.navbar-nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.navbar-nav .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-nav .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.625rem 1rem;
  color: var(--color-heading);
  font-weight: 500;
  font-size: 14.5px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.navbar-nav .dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 3px 3px 0;
}

.navbar-nav .dropdown-item:hover {
  background: rgba(45, 133, 254, 0.08);
  color: var(--color-primary);
  transform: translateX(4px);
}

.navbar-nav .dropdown-item:hover::before {
  transform: scaleY(1);
}

.navbar-nav .nav-link.dropdown-toggle::after {
  content: none;
}

/* Header CTA Buttons */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(45, 133, 254, 0.2);
  color: var(--color-primary);
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost:hover {
  background: rgba(45, 133, 254, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.header-cta .btn-demo {
  padding: 0.625rem 1.75rem;
  font-size: 14.5px;
  border-radius: 10px;
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
}

.mobile-overlay.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-overlay); /* Z-INDEX: 150 */
  animation: fadeIn var(--transition-base) ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== HERO SLIDER SECTION (OVERLAP FIX) ===== */
.hero-section {
  /* CRITICAL: Add top padding to clear fixed navbar (70-80px) */
  padding: calc(var(--spacing-6xl) + 70px) 0 var(--spacing-4xl);
  position: relative;
  overflow: hidden;
  min-height: auto; /* Remove vh-based height to prevent overlap */
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  margin-bottom: 0;
  z-index: var(--z-base);
}

/* Hero Slider Container */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 70vh; /* Optimal height for content visibility */
  display: flex;
  align-items: center;
  padding: var(--spacing-xl) 0; /* Internal padding for breathing room */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.8s var(--transition-smooth), 
              transform 0.8s var(--transition-smooth),
              visibility 0.8s var(--transition-smooth);
  z-index: var(--z-base);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: var(--z-section);
}

.hero-slide .container {
  position: relative;
  z-index: var(--z-section);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: calc(var(--spacing-xl) + var(--spacing-lg)); /* More clearance */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-md);
  z-index: calc(var(--z-section) + 1);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(45, 133, 254, 0.3);
  cursor: pointer;
  transition: all var(--transition-base) var(--transition-smooth);
  position: relative;
}

.slider-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(45, 133, 254, 0.1);
  opacity: 0;
  transition: opacity var(--transition-base) var(--transition-smooth);
}

.slider-dot:hover::before {
  opacity: 1;
}

.slider-dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  width: 32px;
  border-radius: 6px;
}

/* Slider Arrows */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-lg);
  z-index: calc(var(--z-section) + 1);
  pointer-events: none;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(45, 133, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all var(--transition-base) var(--transition-smooth);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  font-size: 20px;
}

.slider-arrow:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.slider-arrow:active {
  transform: scale(0.95);
}

/* Slider Progress Bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(45, 133, 254, 0.1);
  z-index: calc(var(--z-section) + 1);
}

.slider-progress-bar {
  height: 100%;
  background: var(--color-primary);
  width: 0%;
  transition: width 0.1s linear;
}

/* Animated Background Elements */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatBlob 20s ease-in-out infinite;
}

.hero-gradient-blob.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 133, 254, 0.3) 0%, rgba(45, 133, 254, 0) 70%);
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.hero-gradient-blob.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0) 70%);
  bottom: -15%;
  left: -5%;
  animation-delay: -7s;
}

.hero-gradient-blob.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42, 97, 207, 0.2) 0%, rgba(42, 97, 207, 0) 70%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes floatBlob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -40px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(45, 133, 254, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 133, 254, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  background: rgba(45, 133, 254, 0.08);
  border: 1px solid rgba(45, 133, 254, 0.15);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.badge-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6366f1 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: gradientShift 8s ease infinite;
  background-size: 200% auto;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 560px;
  opacity: 0.9;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-cta .btn {
  font-size: 15.5px;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-shine {
  position: relative;
  overflow: hidden;
}

.btn-hover-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-hover-shine:hover::before {
  left: 100%;
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
}

.hero-cta .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(45, 133, 254, 0.35);
}

.hero-cta .btn-ghost:hover {
  box-shadow: 0 8px 24px rgba(45, 133, 254, 0.15);
}

/* Trust Indicators */
.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.trust-item i {
  font-size: 16px;
  color: var(--color-primary);
}

/* Hero Image */
.hero-image {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(45, 133, 254, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Cards */
.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  z-index: 3;
}

.hero-floating-card i {
  font-size: 20px;
  color: var(--color-primary);
}

.hero-floating-card.card-1 {
  top: 15%;
  right: -5%;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-floating-card.card-2 {
  bottom: 20%;
  right: 10%;
  animation: floatCard 4s ease-in-out infinite 2s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
  z-index: var(--z-base);
  clear: both; /* Prevent float overlaps */
}

/* Ensure sections after hero don't overlap */
.hero-section + .section,
.hero-section + .stats-section {
  margin-top: 0;
  clear: both;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.section-bg-light {
  background-color: #f8f9fa;
}

.section-bg-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  color: var(--color-accent);
}

.section-bg-primary h2,
.section-bg-primary h3,
.section-bg-primary h4,
.section-bg-primary p {
  color: var(--color-accent);
}

/* ==================== FEATURE CARDS ==================== */
.feature-card {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
 
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--color-accent);
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

.feature-card p {
  color: var(--color-text);
  margin-bottom: 0;
}

/* ==================== TRUST BADGES ==================== */
.trust-section {
  background-color: #f8f9fa;
  padding: var(--spacing-3xl) 0;
  position: relative;
  z-index: var(--z-base);
  margin-top: 0;
  clear: both;
}

.trust-badge {
  text-align: center;
  padding: 30px 20px;
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.trust-badge img {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.trust-badge h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.trust-badge p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0;
}

/* ==================== TESTIMONIAL CARDS ==================== */
.testimonial-card {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
  position: relative;
  border-left: 4px solid var(--color-primary);
}

.testimonial-card:hover {
  box-shadow: var(--box-shadow-hover);
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.5rem;
}

.testimonial-info h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  padding: var(--spacing-4xl) 0;
  text-align: center;
  color: var(--color-accent);
  position: relative;
  z-index: var(--z-base);
  margin-top: 0;
  clear: both;
}

.cta-section h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-section .btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 16px 40px;
  font-weight: 700;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
  font-size: 18px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.cta-section .btn-accent:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ==================== FOOTER ==================== */
.main-footer {
  background-color: var(--color-heading);
  color: var(--color-accent);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  position: relative;
  z-index: var(--z-base);
  margin-top: 0;
  clear: both;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-links h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-speed) ease;
}

.footer-links ul li a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* ==================== WHATSAPP FLOATING BUTTON (Z-INDEX: 40) ==================== */
.whatsapp-float {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: var(--z-floating-elements); /* Z-INDEX: 40 */
  transition: all var(--transition-base) ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: var(--color-accent);
}

/* ==================== FORM STYLES ==================== */
.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 16px;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(45, 133, 254, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 16px;
  transition: all var(--transition-speed) ease;
}

.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(45, 133, 254, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.valid-feedback {
  color: #28a745;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ==================== MODAL STYLES ==================== */
.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid #e0e0e0;
  padding: 1.5rem;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-heading);
}

.modal-body {
  padding: 2rem 1.5rem;
}

.modal-footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem;
}

.btn-close {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  opacity: 0.5;
  transition: all var(--transition-speed) ease;
}

.btn-close:hover {
  opacity: 1;
}

/* ==================== STATS SECTION (OVERLAP PREVENTION) ==================== */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  padding: var(--spacing-3xl) 0;
  color: var(--color-accent);
  position: relative;
  z-index: var(--z-section); /* Z-INDEX: 5 */
  margin-top: 0;
  clear: both; /* Prevent any float overlaps */
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--color-accent);
  opacity: 0.95;
}

/* ==================== ACCORDION STYLES ==================== */
.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--color-accent);
  color: var(--color-heading);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1.25rem 1.5rem;
  border: none;
  transition: all var(--transition-speed) ease;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: var(--color-primary);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--color-primary);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232D85FE'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* ==================== BLOG CARD ==================== */
.blog-card {
  background: var(--color-accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-text);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card h4 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-heading);
}

.blog-card p {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-speed) ease;
}

.blog-link:hover {
  gap: 10px;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  background-color: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  color: var(--color-text);
}

.breadcrumb-item a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--color-heading);
  font-weight: 600;
}

/* ==================== LOADING SPINNER ==================== */
.spinner-border-primary {
  border-color: var(--color-primary);
  border-right-color: transparent;
}

/* ==================== ALERT MESSAGES ==================== */
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991px) {
  /* Mobile Header */
  .main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  }

  .navbar-toggler {
    display: block;
  }

  /* Mobile Drawer Navigation (Z-INDEX: 200) */
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.4s var(--transition-smooth);
    z-index: var(--z-mobile-drawer); /* Z-INDEX: 200 - Highest layer */
    overflow-y: auto;
  }

  .navbar-collapse.show {
    right: 0;
  }

  .navbar-drawer {
    flex-direction: column;
    align-items: stretch;
    padding: 6rem 1.5rem 2rem;
    height: 100%;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 0.375rem;
  }

  .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 15.5px;
    border-radius: 12px;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  /* Mobile Dropdown Accordion */
  .navbar-nav .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    margin: 0.5rem 0 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border: none;
    box-shadow: none;
    border-radius: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar-nav .dropdown-menu::before {
    display: none;
  }

  .navbar-nav .dropdown-menu.show {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav .dropdown-item {
    padding: 0.875rem 1rem;
    font-size: 14.5px;
    border-radius: 10px;
    margin-bottom: 0.25rem;
  }

  .navbar-nav .dropdown-item:hover {
    transform: none;
  }

  .navbar-nav .dropdown-toggle::after {
    position: absolute;
    right: 1.25rem;
  }

  /* Mobile CTA */
  .header-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .header-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

  /* Hero Mobile (OVERLAP FIX) */
  .hero-section {
    /* CRITICAL: Account for mobile navbar height (~70px) */
    padding: calc(var(--spacing-4xl) + 70px) 0 var(--spacing-4xl);
    min-height: auto;
    margin-bottom: 0;
  }

  .hero-slides {
    min-height: 60vh; /* Optimal for mobile content */
    padding: var(--spacing-md) 0;
  }

  .slider-arrows {
    display: none;
  }

  .slider-nav {
    bottom: var(--spacing-lg);
    gap: var(--spacing-sm);
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .slider-dot.active {
    width: 24px;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust-indicators {
    justify-content: center;
  }

  .hero-floating-card {
    display: none;
  }

  .section-title h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .navbar-collapse {
    width: 90%;
    max-width: 100%;
  }

  .navbar-drawer {
    padding: 5rem 1.25rem 2rem;
  }

  .hero-section {
    /* CRITICAL: Tablet navbar clearance */
    padding: calc(var(--spacing-3xl) + 70px) 0 var(--spacing-3xl);
    margin-bottom: 0;
  }

  .hero-slides {
    min-height: 55vh; /* Balanced for tablets */
    padding: var(--spacing-md) 0;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero-title {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-indicators {
    gap: 1.25rem;
    font-size: 13px;
  }

  .hero-gradient-blob.blob-1,
  .hero-gradient-blob.blob-2,
  .hero-gradient-blob.blob-3 {
    width: 300px;
    height: 300px;
    filter: blur(60px);
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.875rem;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .navbar-drawer {
    padding: 4.5rem 1rem 1.5rem;
  }

  .hero-section {
    /* CRITICAL: Small mobile navbar clearance */
    padding: calc(var(--spacing-3xl) + 60px) 0 var(--spacing-2xl);
    margin-bottom: 0;
  }

  .hero-slides {
    min-height: 50vh; /* Compact but usable */
    padding: var(--spacing-sm) 0;
  }

  .slider-progress {
    height: 2px;
  }
  
  /* Ensure stats section clears hero on small mobile */
  .stats-section {
    margin-top: var(--spacing-md);
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    padding: 0.4rem 1rem;
  }

  .badge-text {
    font-size: 12px;
  }

  .hero-cta {
    gap: 0.75rem;
  }

  .trust-item {
    font-size: 12.5px;
  }

  .trust-item i {
    font-size: 14px;
  }
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */

/* Base state for elements before reveal */
.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-smooth), 
              transform 0.8s var(--transition-smooth);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for multiple elements */
.reveal-element:nth-child(1) { transition-delay: 0ms; }
.reveal-element:nth-child(2) { transition-delay: 100ms; }
.reveal-element:nth-child(3) { transition-delay: 200ms; }
.reveal-element:nth-child(4) { transition-delay: 300ms; }
.reveal-element:nth-child(5) { transition-delay: 400ms; }
.reveal-element:nth-child(6) { transition-delay: 500ms; }

/* Reveal from different directions */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--transition-smooth), 
              transform 0.8s var(--transition-smooth);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--transition-smooth), 
              transform 0.8s var(--transition-smooth);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s var(--transition-smooth), 
              transform 0.6s var(--transition-smooth);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Ripple Effect for CTA Buttons */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.text-primary {
  color: var(--color-primary) !important;
}

.text-heading {
  color: var(--color-heading) !important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-light-gray {
  background-color: #f8f9fa;
}

.shadow-custom {
  box-shadow: var(--box-shadow);
}

.shadow-hover-custom {
  box-shadow: var(--box-shadow-hover);
}

.rounded-custom {
  border-radius: 12px;
}

.mb-custom {
  margin-bottom: 3rem;
}

.mt-custom {
  margin-top: 3rem;
}

/* ==================== PROCESS STEPS ==================== */
.process-step {
  padding: 30px 20px;
  position: relative;
}

.process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a6fd9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  box-shadow: var(--box-shadow);
}

.process-step h4 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-heading);
  text-align: center;
}

.process-step p {
  color: var(--color-text);
  margin-bottom: 0;
  text-align: left;
}

/* ==================== PRICING TABLE (IF NEEDED) ==================== */
.pricing-card {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
  border: 2px solid #f0f0f0;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.05);
}

.pricing-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.pricing-period {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--color-text);
  border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ==================== VIDEO CONTAINER ==================== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ==================== LOGO GRID ==================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.logo-grid img {
  max-width: 120px;
  height: auto;
  opacity: 0.7;
  transition: all var(--transition-speed) ease;
  filter: grayscale(100%);
}

.logo-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==================== SCROLL TO TOP BUTTON (Z-INDEX: 40) ==================== */
.scroll-to-top {
  position: fixed;
  bottom: calc(var(--spacing-xl) + 70px);
  right: var(--spacing-xl);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-full);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  cursor: pointer;
  z-index: var(--z-floating-elements); /* Z-INDEX: 40 */
  transition: all var(--transition-base) var(--transition-smooth);
  box-shadow: var(--shadow-md);
  font-size: 1.5rem;
  font-weight: bold;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(45, 133, 254, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-3px);
}

.scroll-to-top.show {
  display: flex;
  animation: fadeInScale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */

/* GPU Acceleration for animated elements */
.hero-slide,
.hero-gradient-blob,
.hero-main-image,
.slider-arrow,
.dropdown-menu,
.navbar-collapse {
  will-change: auto;
}

/* Reduce motion for users with preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-gradient-blob {
    animation: none !important;
  }
  
  .slider-progress-bar {
    transition: none !important;
  }
}

/* Optimize font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Prevent layout shift from images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Optimize backdrop filters */
@supports (backdrop-filter: blur(20px)) {
  .main-header.scrolled,
  .dropdown-menu,
  .slider-arrow {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

/* Contain paint for isolated elements */
.feature-card,
.testimonial-card,
.blog-card {
  contain: layout style paint;
}

/* ==================== ACCESSIBILITY IMPROVEMENTS ==================== */

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Improved link focus states */
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Button focus states */
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(42, 97, 207, 0.2);
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-accent);
  padding: var(--spacing-md) var(--spacing-lg);
  text-decoration: none;
  z-index: var(--z-modal);
  transition: top var(--transition-base) var(--transition-smooth);
}

.skip-to-main:focus {
  top: 0;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-text: #000000;
    --color-heading: #000000;
  }
  
  .btn-primary,
  .btn-ghost {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .main-header,
  .slider-nav,
  .slider-arrows,
  .slider-progress,
  .whatsapp-float,
  .scroll-to-top,
  .header-cta,
  .hero-cta {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* ==================== END OF STYLESHEET ==================== */